﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dapper_Core.Table
{
    public class Sys_ZTreeMenu
    {
        #region zTree节点中变量名首字母若大写则读取不到变量值
        //public string Id { get; set; }
        //public string PId { get; set; }
        //public string Name { get; set; }
        //public bool Open { get; set; }
        //public bool Checked { get; set; }
        //public bool IsParent { get; set; }
        //public string IconSkin { get; set; }
        //public string MenuId { get; set; }
        //public List<Sys_ZTreeMenu> Children { get; set; } 
        #endregion
        public string id { get; set; }
        public string pId { get; set; }
        public string name { get; set; }
        public bool open { get; set; }
        /// <summary>
        /// zTree节点中变量名首字母必须小写，由于checked是C#的关键字所以在前边加了@
        /// </summary>
        public bool @checked { get; set; }
        public bool isParent { get; set; }
        public string iconSkin { get; set; }
        public string menuId { get; set; }
        public List<Sys_ZTreeMenu> children { get; set; }
    }
}